home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 4490 / 4490.xpi / chrome / wmn.jar / content / ff-overlay.xul < prev    next >
Extensible Markup Language  |  2010-01-27  |  3KB  |  73 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://wmn/skin/overlay.css" type="text/css"?>
  3. <!DOCTYPE overlay SYSTEM "chrome://wmn/locale/overlay.dtd">
  4. <overlay id="wmn-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  5.   <script src="overlay.js"/>
  6.   <script src="ff-overlay.js"/>
  7.   <script src="util.js"/>
  8.  
  9.   <stringbundleset id="stringbundleset">
  10.     <stringbundle id="wmn-strings" src="chrome://wmn/locale/overlay.properties"/>
  11.   </stringbundleset>
  12.  
  13.   <popupset id="mainPopupSet">
  14.     <popup id="wmn-context-menu">
  15.       <menuseparator id="wmn-menu-sep"/>
  16.       <menuitem label="&check-now;"
  17.                 accesskey="&check-now-key;"
  18.                 oncommand="wmn.onCheckNow()" id="wmn-context-menu-check-now"/>
  19.       <menuitem label="&open-wmn-window;"
  20.                 accesskey="&open-wmn-window-key;"
  21.                 oncommand="wmn.onOpenWMN()"/>                
  22.       <menuseparator/>
  23.       <menuitem label="&preferences;"
  24.                 accesskey="&preferences-key;"
  25.                 oncommand="wmn.onPreferences()"/>
  26.     </popup>
  27.     <tooltip id="wmn-tooltip" orient="vertical">
  28.       <description value="&webmail-notifier;" style="font-weight: bold"/>
  29.       <vbox id="wmn-tooltip-text">
  30.       </vbox>
  31.     </tooltip>
  32.   </popupset>
  33.   <statusbar id="status-bar">
  34.     <statusbarpanel id="wmn-statusbar" label=""
  35.                     context="wmn-context-menu"
  36.                     tooltip="wmn-tooltip"
  37.                     onclick="wmn.onClick(event)"
  38.                     newMail="false">
  39.     </statusbarpanel>
  40.   </statusbar>
  41.   <toolbarpalette id="BrowserToolbarPalette">
  42.         <toolbarbutton id="wmn-toolbar-button"
  43.                             class="toolbarbutton-1 chromeclass-toolbar-additional"
  44.                         label="&webmail-notifier;"
  45.                     value=""
  46.                     context="wmn-context-menu"
  47.                     tooltip="wmn-tooltip"
  48.                     onclick="wmn.onClick(event)"
  49.                     newMail="false"
  50.         />
  51.     </toolbarpalette>
  52.  
  53.   <menupopup id="viewSidebarMenu">
  54.     <menuitem key="key_openSidebar_wmn" observes="viewSidebar_wmn" />
  55.   </menupopup>
  56.  
  57.   <keyset id="mainKeyset">
  58.     <key id="key_openSidebar_wmn" command="viewSidebar_wmn"
  59.          key="M" 
  60.          modifiers="shift accel"/>
  61.   </keyset>
  62.  
  63.   <broadcasterset id="mainBroadcasterSet">
  64.     <broadcaster id="viewSidebar_wmn"
  65.                  label="&wmnSidebar.label;"
  66.                  autoCheck="false"
  67.                  type="checkbox"
  68.                  group="sidebar"
  69.                  sidebarurl="chrome://wmn/content/ff-sidebar.xul"
  70.                  sidebartitle="&wmnSidebar.label;"
  71.                  oncommand="toggleSidebar('viewSidebar_wmn');" />
  72.   </broadcasterset>
  73. </overlay>